package com.bub.pay.core.entity.dto.role;

import java.util.Date;

/**
 * 查询角色
 */
public class SysRoleDTO {
    private Long id;
    private String code;
    private Integer type;//1=码商，2=代理，3=管理平台
    private String name; //角色名称
    private Date createDate;
    private Integer selected = 0;//1选中
    //权限数量
    private Integer permSize;
    //员工数量
    private Integer employeeNum;

    private String remarks;

    public String getRemarks() {
        return remarks;
    }

    @Override
    public String toString() {
        return "SysRoleDTO{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", type=" + type +
                ", name='" + name + '\'' +
                ", createDate=" + createDate +
                ", selected=" + selected +
                ", permSize=" + permSize +
                ", employeeNum=" + employeeNum +
                ", remarks='" + remarks + '\'' +
                '}';
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public SysRoleDTO() {
    }

    public Integer getPermSize() {
        return permSize;
    }

    public void setPermSize(Integer permSize) {
        this.permSize = permSize;
    }

    public Integer getEmployeeNum() {
        return employeeNum;
    }

    public void setEmployeeNum(Integer employeeNum) {
        this.employeeNum = employeeNum;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getSelected() {
        return selected;
    }

    public void setSelected(Integer selected) {
        this.selected = selected;
    }
}
